Optimal. Leaf size=207 \[ \frac{5983645 \sqrt{-3 x^2-5 x-2} \text{EllipticF}\left (\sin ^{-1}\left (\sqrt{3} \sqrt{x+1}\right ),-\frac{2}{3}\right )}{648648 \sqrt{3} \sqrt{3 x^2+5 x+2}}+\frac{1}{429} (224-33 x) \sqrt{2 x+3} \left (3 x^2+5 x+2\right )^{5/2}-\frac{5 \sqrt{2 x+3} (4669 x+563) \left (3 x^2+5 x+2\right )^{3/2}}{18018}+\frac{(34372-676791 x) \sqrt{2 x+3} \sqrt{3 x^2+5 x+2}}{324324}-\frac{651617 \sqrt{-3 x^2-5 x-2} E\left (\sin ^{-1}\left (\sqrt{3} \sqrt{x+1}\right )|-\frac{2}{3}\right )}{92664 \sqrt{3} \sqrt{3 x^2+5 x+2}} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.127158, antiderivative size = 207, normalized size of antiderivative = 1., number of steps used = 8, number of rules used = 5, integrand size = 29, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.172, Rules used = {814, 843, 718, 424, 419} \[ \frac{1}{429} (224-33 x) \sqrt{2 x+3} \left (3 x^2+5 x+2\right )^{5/2}-\frac{5 \sqrt{2 x+3} (4669 x+563) \left (3 x^2+5 x+2\right )^{3/2}}{18018}+\frac{(34372-676791 x) \sqrt{2 x+3} \sqrt{3 x^2+5 x+2}}{324324}+\frac{5983645 \sqrt{-3 x^2-5 x-2} F\left (\sin ^{-1}\left (\sqrt{3} \sqrt{x+1}\right )|-\frac{2}{3}\right )}{648648 \sqrt{3} \sqrt{3 x^2+5 x+2}}-\frac{651617 \sqrt{-3 x^2-5 x-2} E\left (\sin ^{-1}\left (\sqrt{3} \sqrt{x+1}\right )|-\frac{2}{3}\right )}{92664 \sqrt{3} \sqrt{3 x^2+5 x+2}} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 814
Rule 843
Rule 718
Rule 424
Rule 419
Rubi steps
\begin{align*} \int \frac{(5-x) \left (2+5 x+3 x^2\right )^{5/2}}{\sqrt{3+2 x}} \, dx &=\frac{1}{429} (224-33 x) \sqrt{3+2 x} \left (2+5 x+3 x^2\right )^{5/2}-\frac{5}{858} \int \frac{(1744+2001 x) \left (2+5 x+3 x^2\right )^{3/2}}{\sqrt{3+2 x}} \, dx\\ &=-\frac{5 \sqrt{3+2 x} (563+4669 x) \left (2+5 x+3 x^2\right )^{3/2}}{18018}+\frac{1}{429} (224-33 x) \sqrt{3+2 x} \left (2+5 x+3 x^2\right )^{5/2}+\frac{5 \int \frac{(-188643-225597 x) \sqrt{2+5 x+3 x^2}}{\sqrt{3+2 x}} \, dx}{108108}\\ &=\frac{(34372-676791 x) \sqrt{3+2 x} \sqrt{2+5 x+3 x^2}}{324324}-\frac{5 \sqrt{3+2 x} (563+4669 x) \left (2+5 x+3 x^2\right )^{3/2}}{18018}+\frac{1}{429} (224-33 x) \sqrt{3+2 x} \left (2+5 x+3 x^2\right )^{5/2}-\frac{\int \frac{11550468+13683957 x}{\sqrt{3+2 x} \sqrt{2+5 x+3 x^2}} \, dx}{1945944}\\ &=\frac{(34372-676791 x) \sqrt{3+2 x} \sqrt{2+5 x+3 x^2}}{324324}-\frac{5 \sqrt{3+2 x} (563+4669 x) \left (2+5 x+3 x^2\right )^{3/2}}{18018}+\frac{1}{429} (224-33 x) \sqrt{3+2 x} \left (2+5 x+3 x^2\right )^{5/2}-\frac{651617 \int \frac{\sqrt{3+2 x}}{\sqrt{2+5 x+3 x^2}} \, dx}{185328}+\frac{5983645 \int \frac{1}{\sqrt{3+2 x} \sqrt{2+5 x+3 x^2}} \, dx}{1297296}\\ &=\frac{(34372-676791 x) \sqrt{3+2 x} \sqrt{2+5 x+3 x^2}}{324324}-\frac{5 \sqrt{3+2 x} (563+4669 x) \left (2+5 x+3 x^2\right )^{3/2}}{18018}+\frac{1}{429} (224-33 x) \sqrt{3+2 x} \left (2+5 x+3 x^2\right )^{5/2}-\frac{\left (651617 \sqrt{-2-5 x-3 x^2}\right ) \operatorname{Subst}\left (\int \frac{\sqrt{1+\frac{2 x^2}{3}}}{\sqrt{1-x^2}} \, dx,x,\frac{\sqrt{6+6 x}}{\sqrt{2}}\right )}{92664 \sqrt{3} \sqrt{2+5 x+3 x^2}}+\frac{\left (5983645 \sqrt{-2-5 x-3 x^2}\right ) \operatorname{Subst}\left (\int \frac{1}{\sqrt{1-x^2} \sqrt{1+\frac{2 x^2}{3}}} \, dx,x,\frac{\sqrt{6+6 x}}{\sqrt{2}}\right )}{648648 \sqrt{3} \sqrt{2+5 x+3 x^2}}\\ &=\frac{(34372-676791 x) \sqrt{3+2 x} \sqrt{2+5 x+3 x^2}}{324324}-\frac{5 \sqrt{3+2 x} (563+4669 x) \left (2+5 x+3 x^2\right )^{3/2}}{18018}+\frac{1}{429} (224-33 x) \sqrt{3+2 x} \left (2+5 x+3 x^2\right )^{5/2}-\frac{651617 \sqrt{-2-5 x-3 x^2} E\left (\sin ^{-1}\left (\sqrt{3} \sqrt{1+x}\right )|-\frac{2}{3}\right )}{92664 \sqrt{3} \sqrt{2+5 x+3 x^2}}+\frac{5983645 \sqrt{-2-5 x-3 x^2} F\left (\sin ^{-1}\left (\sqrt{3} \sqrt{1+x}\right )|-\frac{2}{3}\right )}{648648 \sqrt{3} \sqrt{2+5 x+3 x^2}}\\ \end{align*}
Mathematica [A] time = 0.361123, size = 213, normalized size = 1.03 \[ -\frac{-971132 \sqrt{5} \sqrt{\frac{x+1}{2 x+3}} \sqrt{\frac{3 x+2}{2 x+3}} (2 x+3)^2 \text{EllipticF}\left (\sin ^{-1}\left (\frac{\sqrt{\frac{5}{3}}}{\sqrt{2 x+3}}\right ),\frac{3}{5}\right )+2 \left (4041576 x^8-1163484 x^7-83553120 x^6-268524558 x^5-406647648 x^4-349849791 x^3-170798082 x^2-39284147 x-1864706\right ) \sqrt{2 x+3}+4561319 \sqrt{5} \sqrt{\frac{x+1}{2 x+3}} \sqrt{\frac{3 x+2}{2 x+3}} (2 x+3)^2 E\left (\sin ^{-1}\left (\frac{\sqrt{\frac{5}{3}}}{\sqrt{2 x+3}}\right )|\frac{3}{5}\right )}{1945944 (2 x+3) \sqrt{3 x^2+5 x+2}} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A] time = 0.012, size = 161, normalized size = 0.8 \begin{align*}{\frac{1}{116756640\,{x}^{3}+369729360\,{x}^{2}+369729360\,x+116756640}\sqrt{3+2\,x}\sqrt{3\,{x}^{2}+5\,x+2} \left ( -80831520\,{x}^{8}+23269680\,{x}^{7}+1671062400\,{x}^{6}+5370491160\,{x}^{5}+1422326\,\sqrt{3+2\,x}\sqrt{15}\sqrt{-2-2\,x}\sqrt{-20-30\,x}{\it EllipticF} \left ( 1/5\,\sqrt{30\,x+45},1/3\,\sqrt{15} \right ) +4561319\,\sqrt{3+2\,x}\sqrt{15}\sqrt{-2-2\,x}\sqrt{-20-30\,x}{\it EllipticE} \left ( 1/5\,\sqrt{30\,x+45},1/3\,\sqrt{15} \right ) +8132952960\,{x}^{4}+6996995820\,{x}^{3}+3689640780\,{x}^{2}+1241814840\,x+219746880 \right ) } \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F] time = 0., size = 0, normalized size = 0. \begin{align*} -\int \frac{{\left (3 \, x^{2} + 5 \, x + 2\right )}^{\frac{5}{2}}{\left (x - 5\right )}}{\sqrt{2 \, x + 3}}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [F] time = 0., size = 0, normalized size = 0. \begin{align*}{\rm integral}\left (-\frac{{\left (9 \, x^{5} - 15 \, x^{4} - 113 \, x^{3} - 165 \, x^{2} - 96 \, x - 20\right )} \sqrt{3 \, x^{2} + 5 \, x + 2}}{\sqrt{2 \, x + 3}}, x\right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F] time = 0., size = 0, normalized size = 0. \begin{align*} - \int - \frac{20 \sqrt{3 x^{2} + 5 x + 2}}{\sqrt{2 x + 3}}\, dx - \int - \frac{96 x \sqrt{3 x^{2} + 5 x + 2}}{\sqrt{2 x + 3}}\, dx - \int - \frac{165 x^{2} \sqrt{3 x^{2} + 5 x + 2}}{\sqrt{2 x + 3}}\, dx - \int - \frac{113 x^{3} \sqrt{3 x^{2} + 5 x + 2}}{\sqrt{2 x + 3}}\, dx - \int - \frac{15 x^{4} \sqrt{3 x^{2} + 5 x + 2}}{\sqrt{2 x + 3}}\, dx - \int \frac{9 x^{5} \sqrt{3 x^{2} + 5 x + 2}}{\sqrt{2 x + 3}}\, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int -\frac{{\left (3 \, x^{2} + 5 \, x + 2\right )}^{\frac{5}{2}}{\left (x - 5\right )}}{\sqrt{2 \, x + 3}}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]